package com.alita.redis.utils.dingding.entity;

import com.alibaba.fastjson.JSON;

/**
 * @author : pengmuhua
 * @date : 2019/11/28 17:06
 */
public class LinkMessage implements Message {

    private String msgtype = "link";

    private String link;

    public String getMsgtype() {
        return msgtype;
    }

    public void setMsgtype(String msgtype) {
        this.msgtype = msgtype;
    }

    public String getLink() {
        return link;
    }

    public void setLink(String link) {
        this.link = link;
    }

    @Override
    public String toJsonString() {
        return JSON.toJSONString(this);
    }
}
